package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.Uriauth;
import com.aat.dizena.base.dao.UriauthDao;
import com.aat.dizena.base.service.UriauthService;

@Service
public class UriauthServiceImpl  implements UriauthService {

    @Autowired
    private UriauthDao uriauthDao;

    public int addBean(Uriauth bean){
        return uriauthDao.addBean(bean);
    }

    public int updateBean(Uriauth bean){
        return uriauthDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return uriauthDao.deleteBean(id);
    }

    public Uriauth queryBean(String id){
        return uriauthDao.queryBean(id);
    }

    public List<Uriauth> queryAll(Map<String, Object> map){
        return uriauthDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return uriauthDao.queryCount(map);
    }

}
